﻿using System;
namespace Maticsoft.Model
{
	/// <summary>
	/// newsInfo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class newsInfo
	{
		public newsInfo()
		{}
        #region Model
        private int _newsid;
        private string _newscontent;
        private string _newstitle;
        private string _newstype;
        private string _newspublisher;
        private DateTime? _newspubtime;
        private int? _newscount;
        private int? _parentid = 0;
        /// <summary>
        /// 
        /// </summary>
        public int newsId
        {
            set { _newsid = value; }
            get { return _newsid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string newsContent
        {
            set { _newscontent = value; }
            get { return _newscontent; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string newsTitle
        {
            set { _newstitle = value; }
            get { return _newstitle; }
        }
        /// <summary>
        /// 新闻类别
        /// </summary>
        public string newsType
        {
            set { _newstype = value; }
            get { return _newstype; }
        }
        /// <summary>
        /// 作者
        /// </summary>
        public string newsPublisher
        {
            set { _newspublisher = value; }
            get { return _newspublisher; }
        }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime? newsPubTime
        {
            set { _newspubtime = value; }
            get { return _newspubtime; }
        }
        /// <summary>
        /// 浏览次数
        /// </summary>
        public int? newsCount
        {
            set { _newscount = value; }
            get { return _newscount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? parentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        #endregion Model

	}
}

